home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / bbs / arcm072.lha / ArcMaster.config < prev    next >
Text File  |  1994-09-18  |  2KB  |  68 lines

  1. #
  2. #         Example configuration file for ArcMaster
  3. #
  4.  
  5. # In every command string, the %f is current entry's filename. The %l will
  6. # be replaced by the number of lines in terminal. %d is the destination
  7. # specified in DEST command line argument (doesn't have to be pathname).
  8. # Also %a will be replaced by the filename of the ORIGINAL archive. %s is
  9. # a special code, and it has different meaning in different command strings.
  10.  
  11.  
  12. # Command string to copy/upload new archive and invidual extracted files.
  13. # The %s is the source filename. Source file must not be removed by this
  14. # command.
  15.  
  16. Upload: Copy %s %d QUIET NOREQ
  17.  
  18. # Extension used in archives and then command
  19. # string to extract whole archive to current directory.
  20.  
  21. Unpack: .lha lha x -m -q %a
  22. Unpack: .lzh lha x -m -q %a
  23. Unpack: .zip unzip -q %a
  24. Unpack: .arc arc xn %a
  25. Unpack: .arj unarj x %a
  26. Unpack: .zoo zoo -extract %a
  27.  
  28. # File extension used and command string to pack whole directory and 
  29. # all files in it's subdirectories in archive %s.
  30.  
  31. Pack: .lha lha a -r -m -q %s #?
  32. Pack: .zip zip -r -q %s #?
  33.  
  34. # Maximum size of the archive to be unpacked in kilobytes.
  35. # If 0 is specified then archives of all sizes are allowed.
  36.  
  37. MaxArcSize: 0
  38.  
  39. # How much work space must be free. Specified in number of times
  40. # to archive size. For example, if 3 is specified, then to unpack
  41. # an archive of 100k there must be 300k of free space in work dir.
  42. # If 0 is specified then work space is not checked.
  43. # NOTE: If RAM drive is used as work space, you MUST specify 0.
  44.  
  45. WorkSpace: 0
  46.  
  47. # If you wan't ArcMaster to completely remove it's work directory,
  48. # specify yes to the following. If no is specified, then
  49. # ArcMaster only deletes all contents of the work directory, not
  50. # the directory itself.
  51.  
  52. DeleteWorkDir: yes
  53.  
  54. # Here are definitions for external commands. First is the
  55. # key to use ("!" means RETURN) and then follows mask required
  56. # for the command.
  57. #
  58. # "*" mask tells that the command can be always executed by anyone.
  59. # Otherwise, ArcMaster must have been started with the same MASK
  60. # command line argument to run the command.
  61.  
  62.  
  63. # Command to view text files with RETURN key, and then a command to view
  64. # online help guide. Both should be always available.
  65.  
  66. Exec: ! * MoreText %f LINES %l
  67. Exec: h * MoreText HELP:English/ArcMaster.guide LINES %l STARTNODE usage
  68.